package cn.sxt.yxl.common.controller;

import javax.servlet.http.HttpServletRequest;

import cn.sxt.yxl.common.util.PageInfoUtil;

public class BaseController {
	protected PageInfoUtil proceedPageInfo(HttpServletRequest request){
		//分页对象
		PageInfoUtil pageInfoUtil=new PageInfoUtil();
		String page=request.getParameter("page");
		
		try {
			pageInfoUtil.setCurrentPage(Integer.valueOf(page));
		} catch (NumberFormatException e) {
			
		}
		return pageInfoUtil;
	}
}
